/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.ccc.model.v20200701;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.ccc.transform.v20200701.ListLegacyQueueEventLogsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
 * @author auto create
 * @version 
 */
public class ListLegacyQueueEventLogsResponse extends AcsResponse {

	private Integer httpStatusCode;

	private String code;

	private String message;

	private String requestId;

	private Boolean success;

	private Data data;

	public Integer getHttpStatusCode() {
		return this.httpStatusCode;
	}

	public void setHttpStatusCode(Integer httpStatusCode) {
		this.httpStatusCode = httpStatusCode;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getRequestId() {
		return this.requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public Boolean getSuccess() {
		return this.success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

	public Data getData() {
		return this.data;
	}

	public void setData(Data data) {
		this.data = data;
	}

	public static class Data {

		private Integer pageNumber;

		private Integer pageSize;

		private Integer totalCount;

		private List<QueueEventLog> list;

		public Integer getPageNumber() {
			return this.pageNumber;
		}

		public void setPageNumber(Integer pageNumber) {
			this.pageNumber = pageNumber;
		}

		public Integer getPageSize() {
			return this.pageSize;
		}

		public void setPageSize(Integer pageSize) {
			this.pageSize = pageSize;
		}

		public Integer getTotalCount() {
			return this.totalCount;
		}

		public void setTotalCount(Integer totalCount) {
			this.totalCount = totalCount;
		}

		public List<QueueEventLog> getList() {
			return this.list;
		}

		public void setList(List<QueueEventLog> list) {
			this.list = list;
		}

		public static class QueueEventLog {

			private String vq;

			private String statisticDate;

			private Long queueTime;

			private String ani;

			private String dnis;

			private String cause;

			private Long answerTime;

			private String answerPhone;

			private String acid;

			private String tenantId;

			private Long id;

			public String getVq() {
				return this.vq;
			}

			public void setVq(String vq) {
				this.vq = vq;
			}

			public String getStatisticDate() {
				return this.statisticDate;
			}

			public void setStatisticDate(String statisticDate) {
				this.statisticDate = statisticDate;
			}

			public Long getQueueTime() {
				return this.queueTime;
			}

			public void setQueueTime(Long queueTime) {
				this.queueTime = queueTime;
			}

			public String getAni() {
				return this.ani;
			}

			public void setAni(String ani) {
				this.ani = ani;
			}

			public String getDnis() {
				return this.dnis;
			}

			public void setDnis(String dnis) {
				this.dnis = dnis;
			}

			public String getCause() {
				return this.cause;
			}

			public void setCause(String cause) {
				this.cause = cause;
			}

			public Long getAnswerTime() {
				return this.answerTime;
			}

			public void setAnswerTime(Long answerTime) {
				this.answerTime = answerTime;
			}

			public String getAnswerPhone() {
				return this.answerPhone;
			}

			public void setAnswerPhone(String answerPhone) {
				this.answerPhone = answerPhone;
			}

			public String getAcid() {
				return this.acid;
			}

			public void setAcid(String acid) {
				this.acid = acid;
			}

			public String getTenantId() {
				return this.tenantId;
			}

			public void setTenantId(String tenantId) {
				this.tenantId = tenantId;
			}

			public Long getId() {
				return this.id;
			}

			public void setId(Long id) {
				this.id = id;
			}
		}
	}

	@Override
	public ListLegacyQueueEventLogsResponse getInstance(UnmarshallerContext context) {
		return	ListLegacyQueueEventLogsResponseUnmarshaller.unmarshall(this, context);
	}

	@Override
	public boolean checkShowJsonItemName() {
		return false;
	}
}
